﻿using Chaunce.FrameWork.NetCore.Utility.Helpers;

namespace Chaunce.Web.Core.Providers.Config
{
    /// <summary>
    /// 配置文件相关服务
    /// </summary>
    public interface IConfigProvider
    {
        Property GetProperty(string name);

        void SetProperty(Property property, string name);

        // UploadMap GetUploadConfig();

        bool IsXmlPropertyContains(Property property, string node, string strVal);

        string GetAdminGlobalConfig(string TagName);
        /// <summary>
        /// 获取appsetting配置文件值
        /// </summary>
        /// <param name="key">参数key</param>
        /// <returns>返回value值</returns>
        string GetAppSettingValue(string key);
    }
}
